package com.peas.platform.module.icims.base.approve.api.req;

import com.peas.platform.module.icims.base.approve.controller.vo.ApproveConditionVo;
import com.peas.platform.module.icims.base.approve.controller.vo.ApproveNodeVo;
import com.peas.platform.module.icims.base.approve.controller.vo.ApproveVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class SaveApproveVo extends ApproveVo {

    @Valid
    private List<ApproveNodeVo> nodes;

    @Valid
    private List<ApproveConditionVo> conditions;

}
